//
//  CircularPickerView.h
//  CirclePicker
//
//  Created by vladyslav.anokhin on 9/22/15.
//  Copyright (c) 2015 Appus. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>

IB_DESIGNABLE
@interface CircularPickerView : UIControl

//lineColor 已选择
@property(nonatomic, strong) UIColor* lineColor;

//bgColor   未选择
@property(nonatomic, strong) UIColor* bgColor;

//lineWidth 线条长度
@property(nonatomic, assign) CGFloat lineWidth;

//maxValue  圆终点最大
@property(nonatomic, assign) NSInteger minValue;

//minValue  圆起点最小
@property(nonatomic, assign) NSInteger maxValue;

//defaultValue  起始点位置
@property(nonatomic, assign) NSInteger defaultValue;

//step      - The step which can be select value
@property(nonatomic, assign) NSUInteger step;

//autocomplete  是否自动补为整数
@property(nonatomic, assign) BOOL autocomplete;

//currentValue -
@property(nonatomic, readonly)CGFloat currentValue;

@property(nonatomic, assign)CGFloat angle;

- (void)timePickerinit;
@end


